package com.hbnu.collection;

/**
 * @author kittychen
 * @since 2025-10-15 16:29
 */
public class ObjectArrayTest {
    public static void main(String[] args) {
        ObjectArray objectArray = new ObjectArray(5);

        objectArray.addData(0, "kittychen");
        objectArray.addData(1, 18);

        String data = (String) objectArray.getData(0);
        String data1 = (String) objectArray.getData(1);

        System.out.println(data + "=======" + data1);
    }
}
